// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'

import axios from 'axios'

import http from './http.js'
import 'bootstrap/dist/js/bootstrap.bundle.min'
import 'bootstrap/dist/css/bootstrap.css'
import 'font-awesome/css/font-awesome.css'
import 'view-design/dist/styles/iview.css';
import 'element-ui/lib/theme-chalk/index.css' //new
import 'summernote'
import 'summernote/dist/lang/summernote-zh-CN'
import 'summernote/dist/summernote.css'
import 'summernote/dist/summernote.js'
import ViewUI from 'view-design';

import ElementUI from 'element-ui' //new
import './assets/css/pub.css'
import Vant from 'vant';
import 'vant/lib/index.css';
import { BootstrapVue, BootstrapVueIcons } from 'bootstrap-vue'
import 'bootstrap/dist/css/bootstrap.css'
import 'bootstrap-vue/dist/bootstrap-vue.css'
import App from './App'
import router from './router'

Vue.config.productionTip = false
Vue.use(ViewUI);
Vue.use(ElementUI)
Vue.use(Vant);
Vue.prototype.$axios=axios
Vue.prototype.http = http
Vue.use(BootstrapVue)
Vue.use(BootstrapVueIcons)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
  
})
Vue.directive('title', {
  inserted: function (el, binding) {
    document.title = el.dataset.title
  }
})
